<template>
	<view class="padb20">
		<stop isBack>
			<view slot="content">设备信息盘点</view>
		</stop>
		<view class="bcf padb5 mart3">
			<machine-picker v-model="selected"></machine-picker>
			<view class="mart3 padlr3">
				<view class="cu-btn lg tac line-green pos-r round w100" @tap="startMod">
					开始盘点
					<ripple></ripple>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	import machinePicker from '../../templete/machine/machine_picker.vue'
	export default {
		
		components:{machinePicker},
		data() {
			return {
				selected:''
			}
		},
		methods: {
			startMod(){
				if(this.isnull(this.selected)) {
					this.$com.showToast('请选择设备')
					return
				}
				this.goto('/pages/machine/machine_info_edit?id=' + this.$com.iriId(this.selected))
			}
		}
	}
</script>

<style>

</style>
